WSAL\Controllers\Alert_Manager D

Total Complexity 217
Dependencies 17
Dependents 46
Total lines 1,467
Lines of code 682
Logical lines of code 346
Comment lines 483
Methods 42
Properties 15

Methods 42

Method Rating Maintainability Complexity Lines of code
log()
D
32 37 89
trigger_event()
B
43 21 44
trigger_event_if()
B
43 19 45
was_triggered_recently()
A
51 15 23
get_event_user_data()
A
47 10 35
get_latest_events()
A
45 8 41
is_ip_address_disabled()
S
53 7 23
was_triggered()
S
57 7 16
register()
S
47 5 36
is_disabled_role()
S
57 6 18
get_event_type_data()
S
43 4 47
commit_item()
S
57 6 15
get_event_objects_data()
S
46 4 37
get_categorized_alerts()
S
58 5 16
will_trigger()
S
61 5 12
check_enable_user_roles()
S
65 5 9
get_admin_bar_event()
S
60 4 12
get_alerts()
S
62 4 12
get_ignored_post_types()
S
59 3 17
register_group()
S
65 4 9
get_alert_property()
S
69 3 6
get_loggers()
S
65 3 9
get_alerts_by_category()
S
65 3 9
remove_from_ignored_post_types()
S
65 3 9
get_all_post_types()
S
65 3 9
get_alerts_by_sub_category()
S
65 3 9
commit_pipeline()
S
67 2 7
will_or_has_triggered()
S
77 2 3
get_deprecated_events()
S
64 2 6
is_disabled_user()
S
70 2 6
duplicate_event_notice()
S
62 1 11
has_triggered()
S
78 1 3
add_logger_instance()
S
76 1 4
log_problem()
S
65 1 10
log_error()
S
78 1 3
log_warn()
S
78 1 3
log_info()
S
79 1 3
is_enabled()
S
74 1 4
get_wp_users()
S
80 1 3
is_disabled_post_status()
S
78 1 3
is_disabled_post_type()
S
78 1 3
init()
S
78 1 3